<?php
/**
 * Class Soft_model
 */
class Soft_model extends  SDF_Model{
    function __construct(){
        $this->db = $this->load->database('default',true);
        parent::__construct();
    }
    public function get_soft(){
        $query = $this->db->get("soft");
        $list = $query->result_array();
        $data = array();
        foreach($list as $row){
            $data[$row['soft_id']] = $row;
        }
        return $data;
    }
}
